438569913 by Unknown

438569913 by Unknown

Author:Unknown
Language: eng
Format: mobi, azw3
Published: 0101-01-01T00:00:00+00:00


return 0;

}

Sample Run

Area = 4

Perimeter = 8

Top Left:

1,1

Bottom Right:

3,3

Center:

2,2

Equality: 1

Height: 2

Width: 2

Empty: 0

Null: 0

Point 1 in Rectangle: 1

Point 2 in Rectangle: 0

Top Left of Intersection: 1.5,1

Bottom Right of Intersection: 3,3

Top Left of Union: 1,1

Bottom Right of Union: 3.5,3

Top Left: 0.5,0.5

Bottom Right:

3.5,3.5

Center:

2,2

Top Left:

1,1

Bottom Right:

3,3

Center:

2,2

Explanation

The program is pretty self-explanatory, as the functions class are simple. Apart from class we have also defined the Point class to get, set and display coordinates of a point.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.